home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / dos_win / winsock / maillist / 94-04.Z / 94-04 / text0084.txt < prev    next >
Encoding:
Text File  |  1994-04-30  |  4.3 KB  |  99 lines

  1. In article <CnqD43.5u5@dit.upm.es> fdiaz@dit.upm.es (Francisco Diaz Catalan) writes:
  2. >From: fdiaz@dit.upm.es (Francisco Diaz Catalan)
  3. >Subject: Programming a videoconferencing system
  4. >Date: Mon, 4 Apr 1994 10:28:51 GMT
  5.  
  6. >We want to build a program that periodically takes a digitalized image
  7. >(we say, for example, every fifty milliseconds) an sends it over a
  8. >windows socket (we use Microsoft Windows 3.1).
  9.  
  10. >We firstly thought to put it in a callback function accesed at
  11. >interrupt time, in a DLL. We tried to use the multimedia timer
  12. >services (timeSetEvent), but due to limitations imposed to the timer
  13. >callback functions, it did not work.
  14.  
  15. >We don't want to post messages to a window because of the lost of
  16. >precission it suposes.
  17.  
  18. >Does anybody out there know how to avoid the limitations of this kind
  19. >of callback functions?
  20.  
  21. >Is there another form, perhaps totally different, for doing this?
  22.  
  23. Are you using Video for Windows for this? If so, were you planning on using 
  24. frame captures or stream captures?
  25.  
  26. I'm afraid that you are stuck with posting a message from the timer callback 
  27. to a window. 50mSec might be a bit agressive, though.
  28.  
  29. The Video for Windows Capture app does it's preview mode this 
  30. way, though it sets the timer to 100mSec. There should be no "loss of 
  31. precision" though, of course, there will be some latency. (But there will be 
  32. latency going over the net, too...)
  33.  
  34. If you are concerned with proper synchronization, you are better-off using the 
  35. stream capture functions, rather than frame capture. (VFW Capture uses frame 
  36. captures for "preview" and single-frames, but uses stream capture for file 
  37. capture.)
  38.  
  39. With stream capture, you specify the frame rate you want, and your callback 
  40. or window will receive formatted buffers with embedded time information. It is 
  41. *not* guaranteed that every requested frame will be provided, but you will 
  42. have the time code to know if there are missing frames and to keep things in 
  43. sync. Note that you do not need to use a timer in this case, as the timing is 
  44. done by the driver in this case. It is also very accurate. Most VFW capture 
  45. drivers get an interrupt for every field or frame, and simply read the MM 
  46. timer to determine if a particular field or frame needs to be captured or not. 
  47. This is much better than going in asynchronously via a timer in your app.
  48.  
  49. Sorry if I'm being a bit sketchy or inaccurate - I only know VFW from the 
  50. driver side out. I've never actually *written* a VFW app, but I have written a 
  51. capture driver (for the I/OMagic PCMCIA capture card). 
  52. _____________________________________________________________________
  53. Jon Tara|Internet:   jtara@crash.cts.com | Kibo told me I could say  
  54.         |CompuServe: 76477,3422          | "53-X" here.
  55.  
  56. From news@bigblue.oit.unc.edu Sat Apr  2 18:39:05 1994
  57. Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  58.           id AA05869; Tue, 5 Apr 1994 21:42:28 -0400
  59. Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
  60.           id AA16170; Tue, 5 Apr 1994 20:18:53 -0500
  61. Received: from GATEWAY by bigblue with netnews
  62.     for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
  63. To: winsock@sunsite.unc.edu
  64. Date: Sat, 2 Apr 94 16:39:05 +0200
  65. From: Uli Mittermaier <uli@koala.muc.de>
  66. Message-Id: <5XentANGBh107h@koala.muc.de>
  67. Sender: ses
  68. References: <dmaher.20.000B2F7D@bucknell.edu>
  69. Subject: Re: Telnet server wanted
  70.  
  71. In <dmaher.20.000B2F7D@bucknell.edu> dmaher@bucknell.edu (Dave Maher) writes:
  72. >     I am currently running winsock.dll servers such as ftp, rcp, www, etc.. 
  73. >but cannot find a telnet server. I realize that telnetting to DOS is not a 
  74. >widespread thing, but is there a program _somewhere_?? 
  75.  
  76.  
  77. I know only of a Telnet-Server for DOS that 'sits' on top of a packet-
  78. driver. It's called 'The WATTCP TELNET Server'. The author is Erick Engelke
  79. erick@development.watstar.uwaterloo.ca. (Information taken from the doc-file
  80. of the program.)
  81.  
  82. Available at:
  83.  
  84. Host: ftp-ns.rutgers.edu
  85. Dir:  /pub/msdos/wattcp
  86. File: telnetd.zip
  87.  
  88.  
  89. Best regards,
  90. Uli Mittermaier
  91.  
  92. -- 
  93. *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
  94. |  Uli Mittermaier                      Internet:   uli@koala.muc.de        |
  95. *  D-84405 Dorfen                       CompuServe: [100270,1200]           *
  96. |  Germany                              UUCP:       uunet!muc.de!koala!uli  |
  97. *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
  98.  
  99.